import axios from "axios";



// Add a request interceptor
axios.interceptors.request.use(function (config) {
    // Do something before request is sent

    if(config.r){
        return Promise.resolve(config.r);
    }else{
        return config;
    }
    
  }, function (error) {
    // Do something with request error
    return Promise.reject(error);
  });


export default axios;